package com.hqyj.exception;


import lombok.Getter;
import org.springframework.validation.BindException;
import org.springframework.validation.BindingResult;

/**
 * 自定义参数校验异常
 */
public class ParamValidException extends BindException {

    @Getter
    private BindingResult result;


    public ParamValidException(BindingResult bindingResult) {
        super(bindingResult);
        this.result=bindingResult;
    }
}
